<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'AddUser.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
        <br>
        <br>
        <div align=center><FONT SIZE="6" COLOR="颜色#000000">添加用户</FONT></div>
        <br>
        <br>
        <form name="adduserform" action="addoneuser" method="post">
    	<table align="center">
    	<tr align="right">
    	<td>用户名：<input type="text" name="user.username" size="20"></td>
    	</tr>
    	<tr align="right">
    	<td>密 码：<input type="password" size="20" name="user.password"></td>
    	</tr>
    	<tr align="right">
    	<td>姓名：<input type="text" name="user.name" size="20" ></td>
    	</tr>
    	<tr align="right">
    	<td>手机号：<input type="text" name="user.phone" size="20"></td>
    	</tr>
    	
    	<tr align="center">
    	<td>角色：<select name="user.role" > 
				<option value="admin" >管理员</option> 
				<option value="put">事务提出方</option> 
				<option value="solve">事务解决方</option> 
				</select>
				</td>
    	</tr>

    	<tr align="center">
    	<td>
    	<input type=submit name=submit2 value="确定">
    	</td>
    	</tr>
    	</table>
    	</form>
  </body>
</html>
